using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;

namespace BodySoundSimulator.AbsoluteMapData
{
    public class BackViewDynamicContributionData
    {
        #region Fields
		Collection<BackViewCommonAuscultationSiteEffect> backViewEffects;
        #endregion

        #region Properties
		public Collection<BackViewCommonAuscultationSiteEffect> BackViewEffects
		{
			get { return backViewEffects; }
			set { backViewEffects = value; }
		}
        #endregion

        #region Constructors
        public BackViewDynamicContributionData()
        {
			this.backViewEffects = new Collection<BackViewCommonAuscultationSiteEffect>();
        }
        #endregion

        #region Public methods
		public void InitializeDefaults()
		{
			this.backViewEffects.Add(new BackViewCommonAuscultationSiteEffect(BackViewCommonAuscultationSiteType.lungSoundSiteOne));
			this.backViewEffects.Add(new BackViewCommonAuscultationSiteEffect(BackViewCommonAuscultationSiteType.lungSoundSiteTwo));
			this.backViewEffects.Add(new BackViewCommonAuscultationSiteEffect(BackViewCommonAuscultationSiteType.lungSoundSiteThree));
			this.backViewEffects.Add(new BackViewCommonAuscultationSiteEffect(BackViewCommonAuscultationSiteType.lungSoundSiteFour));
			this.backViewEffects.Add(new BackViewCommonAuscultationSiteEffect(BackViewCommonAuscultationSiteType.lungSoundSiteFive));
		}

        internal BackViewDynamicContributionData Clone()
        {
            BackViewDynamicContributionData clone = new BackViewDynamicContributionData();
			clone.backViewEffects = new Collection<BackViewCommonAuscultationSiteEffect>();
			foreach (BackViewCommonAuscultationSiteEffect backViewEffect in this.backViewEffects)
			{
				clone.backViewEffects.Add(backViewEffect.Clone());
			}
            return clone;
        }
        #endregion
    }
}
